﻿using System;
using Newtonsoft.Json.Linq;
using JsonCSharpClassGenerator;

namespace Search
{

    internal class CreateSearchFilm
    {

        public CreateSearchFilm(string json)
         : this(JObject.Parse(json))
        {
        }

        private JObject __jobject;
        public CreateSearchFilm(JObject obj)
        {
            this.__jobject = obj;
        }

        [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]
        private Feed _feed;
        public Feed Feed
        {
            get
            {
                if(_feed == null)
                    _feed = JsonClassHelperSearch.ReadStronglyTypedObject<Feed>(JsonClassHelperSearch.GetJToken<JObject>(__jobject, "feed"));
                return _feed;
            }
        }

    }
}
